<?php if(!defined('IN_UCHOME')) exit('Access Denied');?><?php subtplcheck('admin/tpl/index|admin/tpl/header|admin/tpl/side|admin/tpl/footer', '1262581461', 'admin/tpl/index');?><?php $_TPL['menunames'] = array(
		'index' => '管理首页',
		'config' => '站点设置',
		'privacy' => '隐私设置',
		'usergroup' => '用户组',
		'credit' => '积分规则',
		'profilefield' => '用户栏目',
		'profield' => '群组栏目',
		'task' => '有奖活动',
		'spam' => '防灌水设置',
		'censor' => '词语屏蔽',
		'ad' => '广告设置',
		'sitefeed' => '全局动态',
		'userapp' => 'MYOP应用',
		'app' => 'UCenter应用',
		'network' => '随便看看设置',
		'cache' => '缓存更新',
		'space' => '用户',
		'name' => '实名认证',
		'feed' => '事件',
		'share' => '分享',
		'blog' => '日志',
		'album' => '相册',
		'pic' => '图片',
		'comment' => '评论',
		'thread' => '话题',
		'post' => '回帖',
		'doing' => '记录',
		'tag' => '标签',
		'mtag' => '群组',
    'prof' => '档案',
		'report' => '举报管理',
		'block' => '数据调用',
		'template' => '模板编辑',
		'backup' => '数据备份',
		'stat' => '统计更新',
		'cron' => '系统计划任务'
	); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?=$_SC['charset']?>" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><?php if($_TPL['titles']) { ?><?php if(is_array($_TPL['titles'])) { foreach($_TPL['titles'] as $value) { ?><?php if($value) { ?><?=$value?> - <?php } ?><?php } } ?><?php } ?><?php if($space) { ?><?=$_SN[$space['uid']]?> - <?php } ?><?=$_SCONFIG['sitename']?> - Powered by UCenter Home</title>
<script language="javascript" type="text/javascript" src="source/script_common.js"></script>
<script language="javascript" type="text/javascript" src="source/script_menu.js"></script>
<script language="javascript" type="text/javascript" src="source/script_ajax.js"></script>
<script language="javascript" type="text/javascript" src="source/script_face.js"></script>
<script language="javascript" type="text/javascript" src="source/script_manage.js"></script>
<style type="text/css">
@import url(template/<?=$_SCONFIG['template']?>/style.css);
@import url(admin/tpl/style.css);
</style>
<link rel="shortcut icon" href="image/favicon.ico" />
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>

<div id="header">
<div class="headerwarp">
<h1 class="logo"><a href="index.php"><img src="<?=$_SCONFIG['sitelogo']?>" alt="<?=$_SCONFIG['sitename']?>" /></a></h1>
<div class="nav_account">
<?php if($_SGLOBAL['supe_uid']) { ?>
<a href="space.php?uid=<?=$_SGLOBAL['supe_uid']?>" class="login_thumb"><img src="<?php echo avatar($_SGLOBAL[supe_uid],small); ?>" alt="<?=$_SN[$_SGLOBAL['supe_uid']]?>" width="20" height="20" /></a>
<a href="space.php?uid=<?=$_SGLOBAL['supe_uid']?>" class="loginName"><?=$_SN[$_SGLOBAL['supe_uid']]?></a>
<?php if($_SN[$_SGLOBAL['supe_uid']]!=$_SGLOBAL['username']) { ?>(<?=$_SGLOBAL['supe_username']?>)<?php } ?>
 | <a href="space.php?do=home">个人首页</a> | 
 <a href="space.php?do=friend">好友</a> | 
 <a href="space.php?do=pm<?php if(!empty($_SGLOBAL['member']['newpm'])) { ?>&filter=newpm<?php } ?>">消息<?php if(!empty($_SGLOBAL['member']['newpm'])) { ?>(新)<?php } ?></a> | 	 
 <a href="cp.php?ac=common&op=logout">退出</a>
<?php } else { ?>
<a href="do.php?ac=<?=$_SCONFIG['register_action']?>" class="login_thumb"><img src="<?php echo avatar($_SGLOBAL[supe_uid],small); ?>" width="20" height="20" /></a>
欢迎您&nbsp;&nbsp;
<a href="do.php?ac=<?=$_SCONFIG['login_action']?>">登录</a> | 
<a href="do.php?ac=<?=$_SCONFIG['register_action']?>">注册</a>
<?php } ?>
</div>
<div id="search">
<form>
<input type="text" class="h_input" size="30" /> 
<input class="top_submit" type="button" value="搜索" />
</form>
</div>
  </div>
  	
<div id="menuinfo">
<ul id="menu">
<li><span>首页</span>
<!--[if lte IE 6]><a href="#nogo"><table><tr><td><![endif]-->
<dl>
<dt><a target="_top" href="index.php"><span>首页</span></a></dt>
</dl><!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<?php if(is_array($_SGLOBAL['profield'])) { foreach($_SGLOBAL['profield'] as $value) { ?>
<?php if($value['profieldtype'] && !$value['parentid']) { ?>
<li><span><?=$value['title']?></span>
<!--[if lte IE 6]><a href="#nogo"><table><tr><td><![endif]-->
<dl>
<dt><a href="site.php?ac=profile&op=list&fid=<?=$value['fieldid']?>"><span><?=$value['title']?></span></a></dt>
<?php $parentid = $value[fieldid]; ?>
<?php if(is_array($_SGLOBAL['profield'])) { foreach($_SGLOBAL['profield'] as $value) { ?>
<?php if($value['profieldtype'] && ($value['parentid'] == $parentid )) { ?>
<dd><a href="site.php?ac=profile&op=list&fid=<?=$value['fieldid']?>"><?=$value['title']?></a></dd>
<?php } ?><?php } } ?>
<dd><a href="#" class="j a_new_profile" name="fid-<?=$value['fieldid']?>">添加
</a></dd>
  
</dl>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<?php } ?>
<?php } } ?>
</ul>
</div>
  </div>

<div id="wrap">
<div id="cp_content">


<div class="mainarea">
<div class="maininner">
<?php if($menus['0']['config']) { ?>
<div class="bdrcontent">
<div class="title"><h3>欢迎光临管理平台</h3></div>
<p>通过登录管理平台，您可以对站点的参数进行设置，并可以及时获取官方的更新动态和重要补丁通告。</p>
</div>
<br />

<div class="bdrcontent">
<div class="title">
<h3>官方最新动态</h3>
<p>官方新版本的发布与重要补丁的升级等动态，都会在这里显示。</p>
</div>
<div id="customerinfor" style="line-height:1.5em;"></div>
<br />
<div class="title">
<h3>技术支持服务</h3>
<p>如果你在使用中遇到问题，可以访问以下链接需求帮助</p>
</div>
<ul class="listcol list2col">
<li><a href=http://www.discuz.net/index.php?gid=141 target="_blank">官方交流论坛</a></li>
<li><a href=http://www.comsenz.com/purchase/uchome target="_blank">Comsenz商业支持服务</a></li>
</ul>
</div>
<br />

<div class="bdrcontent">
<div class="title">
<h3>站点数据统计</h3>
<p>通过站点统计，您可以整体把握站点的发展状况。</p>
</div>
<ul class="listcol list2col">
<li>全部日志数: <?=$statistics['blognum']?></li>
<li>全部相册数: <?=$statistics['albumnum']?></li>
<li>全部分享数: <?=$statistics['sharenum']?></li>
<li>全部评论数: <?=$statistics['commentnum']?></li>
<li>全部群组数: <?=$statistics['mtagnum']?></li>
<li>全部话题数: <?=$statistics['threadnum']?></li>
<li>全部feed数: <?=$statistics['feednum']?></li>
<li>自身feed数: <?=$statistics['feednum1']?> (<?php echo intval($statistics[feednum1]*100/$statistics[feednum]); ?>%)</li>
<li>有效空间数: <?=$statistics['spacenum']?></li>
<li>空间(0<好友<10)数: <?=$statistics['spacenum1']?> (<?php echo intval($statistics[spacenum1]*100/$statistics[spacenum]); ?>%)</li>
<li>空间(10<=好友<100)数: <?=$statistics['spacenum2']?> (<?php echo intval($statistics[spacenum2]*100/$statistics[spacenum]); ?>%)</li>
<li>空间(好友>=100)数: <?=$statistics['spacenum3']?> (<?php echo intval($statistics[spacenum3]*100/$statistics[spacenum]); ?>%)</li>
<li>空间(实名认证)数: <?=$statistics['spacenum4']?> (<?php echo intval($statistics[spacenum4]*100/$statistics[spacenum]); ?>%)</li>
<li>空间(上传头像)数: <?=$statistics['spacenum5']?> (<?php echo intval($statistics[spacenum5]*100/$statistics[spacenum]); ?>%)</li>
<li>空间(积分>=20)数: <?=$statistics['spacenum6']?> (<?php echo intval($statistics[spacenum6]*100/$statistics[spacenum]); ?>%)</li>
<li>空间(登录过)数: <?=$statistics['spacenum7']?> (<?php echo intval($statistics[spacenum7]*100/$statistics[spacenum]); ?>%)</li>
<li>空间(更新过)数: <?=$statistics['spacenum8']?> (<?php echo intval($statistics[spacenum8]*100/$statistics[spacenum]); ?>%)</li>
<li>开启MYOP应用数: <?=$statistics['myappnum']?></li>
</ul>
</div>
<br />

<div class="bdrcontent">
<div class="title"><h3>程序数据库/版本</h3></div>
<ul>
<li>操作系统: <?=$os?></li>
<li>数据库版本: <?=$statistics['mysql']?></li>
<li>上传许可: <?=$fileupload?></li>
<li>数据库尺寸: <?=$dbsize?></li>
<li>附件尺寸: <?=$attachsize?></li>
<li>当前程序版本: UCenter Home <?=$statistics['version']?> ( <?=$statistics['release']?> )</li>
<li>UCenter 程序版本: UCenter <?=UC_CLIENT_VERSION?> Release <?=UC_CLIENT_RELEASE?></li>
</ul>
</div>
<br />

<div class="bdrcontent">

<div class="title">
<h3>开发团队</h3>
</div>
<table>
<tr><td>版权所有</td><td><a  href="http://www.comsenz.com/" target="_blank">康盛创想(北京)科技有限公司 (Comsenz Inc.)</a></td></tr>
<tr><td>总策划</td><td><a  href="http://www.discuz.net/space.php?uid=1" target="_blank">Kevin 'Crossday' Day</a>, <a  href="http://www.discuz.net/space.php?uid=174393" target="_blank">Guode 'Sup' Li</a></td></tr>
<tr><td>开发与支持团队</td><td><a  href="http://www.discuz.net/space.php?uid=322293" target="_blank">Qingpeng 'Andy' Zheng</a>, <a  href="http://www.discuz.net/space.php?uid=248739" target="_blank">Jing 'Qiezi' Zou</a>, <a  href="http://www.discuz.net/space.php?uid=672953" target="_blank">Fei 'Fengshu' Zhao</a>, <a  href="http://www.discuz.net/space.php?uid=465273" target="_blank">Lijun 'Maple-x' Zhang</a>, <a  href="http://www.discuz.net/space.php?uid=679269" target="_blank">Lei 'Shitou' Zhao</a></td></tr>
<tr><td>美工设计</td><td><a  href="http://www.discuz.net/space.php?uid=294092" target="_blank">Fangming 'Lushnis' Li</a>, <a  href="http://www.discuz.net/space.php?uid=174393" target="_blank">Yulong 'Yulong' Li</a></td></tr>
<tr><td>公司网站</td><td><a href=http://www.comsenz.com target="_blank">http://www.comsenz.com</a></td></tr>
<tr><td>产品网站</td><td><a href=http://u.discuz.net target="_blank">http://u.discuz.net</a></td></tr>
</table>
</div>
<?php } else { ?>
<div class="bdrcontent">
<div class="title"><h3>欢迎光临管理平台</h3></div>
<p>通过管理平台操作，你可以对发布的信息进行批量管理。</p>

<br />
<div class="title"><h3>快捷管理菜单</h3></div>
<ul class="listcol list2col">
<?php if($menus['1']['space']) { ?><li><a href="admincp.php?ac=space" style="font-weight:bold;">用户</a><p>编辑用户的积分、用户组、管理空间信息、删除用户</p></li><?php } ?>
<li><a href="admincp.php?ac=feed" style="font-weight:bold;">事件</a><p>对"我在做什么"进行批量删除</p></li>
<li><a href="admincp.php?ac=blog" style="font-weight:bold;">日志</a><p>对日志进行批量删除、编辑</p></li>
<li><a href="admincp.php?ac=album" style="font-weight:bold;">相册</a><p>对发布的相册进行批量删除</p></li>
<li><a href="admincp.php?ac=pic" style="font-weight:bold;">图片</a><p>对发布的图片进行批量删除</p></li>
<li><a href="admincp.php?ac=comment" style="font-weight:bold;">评论</a><p>对发布的评论进行批量删除</p></li>
<li><a href="admincp.php?ac=thread" style="font-weight:bold;">话题</a><p>对群组上面发布的话题进行批量删除、精华、置顶</p></li>
<li><a href="admincp.php?ac=post" style="font-weight:bold;">回帖</a><p>对群组上面发布的回帖进行批量删除</p></li>
<?php if($menus['1']['tag']) { ?><li><a href="admincp.php?ac=tag" style="font-weight:bold;">标签</a><p>对站点的标签进行删除、关闭、合并</p></li><?php } ?>
<?php if($menus['1']['mtag']) { ?><li><a href="admincp.php?ac=mtag" style="font-weight:bold;">群组</a><p>对站点的群组进行删除、关闭、合并</p></li><?php } ?>
<?php if($menus['1']['css']) { ?><li><a href="admincp.php?ac=css" style="font-weight:bold;">模版样式</a><p>对站点共享的模版样式进行批量审核、删除</p></li><?php } ?>
</ul>
</div><br />
<?php } ?>
</div>
<br>
</div>

<div class="side">
<?php if($menus['0']) { ?>
<div class="block style1">
<h2>基本设置</h2>
<ul class="folder">
<?php if(is_array($acs['0'])) { foreach($acs['0'] as $value) { ?>
<?php if($menus['0'][$value]) { ?>
<?php if($ac==$value) { ?><li class="active"><?php } else { ?><li><?php } ?><a href="admincp.php?ac=<?=$value?>"><?=$_TPL['menunames'][$value]?></a></li>
<?php } ?>
<?php } } ?>
</ul>
</div>
<?php } ?>

<div class="block style1">
<h2>批量管理</h2>
<ul class="folder">
<?php if(is_array($acs['3'])) { foreach($acs['3'] as $value) { ?>
<?php if($ac==$value) { ?><li class="active"><?php } else { ?><li><?php } ?><a href="admincp.php?ac=<?=$value?>"><?=$_TPL['menunames'][$value]?></a></li>
<?php } } ?>
<?php if(is_array($acs['1'])) { foreach($acs['1'] as $value) { ?>
<?php if($menus['1'][$value]) { ?>
<?php if($ac==$value) { ?><li class="active"><?php } else { ?><li><?php } ?><a href="admincp.php?ac=<?=$value?>"><?=$_TPL['menunames'][$value]?></a></li>
<?php } ?>
<?php } } ?>
</ul>
</div>

<?php if($menus['2']) { ?>
<div class="block style1">
<h2>高级应用</h2>
<ul class="folder">
<?php if(is_array($acs['2'])) { foreach($acs['2'] as $value) { ?>
<?php if($menus['2'][$value]) { ?>
<?php if($ac==$value) { ?><li class="active"><?php } else { ?><li><?php } ?><a href="admincp.php?ac=<?=$value?>"><?=$_TPL['menunames'][$value]?></a></li>
<?php } ?>
<?php } } ?>
<?php if($menus['0']['config']) { ?><li><a href="<?=UC_API?>" target="_blank">UCenter</a></li><?php } ?>
</ul>
</div>
<?php } ?>
</div>

<?php if($statistics['update']) { ?>
<script language="javascript" src="http://u.discuz.net/customer/update.php?get=<?=$statistics['update']?>"></script>
<?php } ?>
<?php my_checkupdate(); ?>

</div>

<div id="footer" title="<?php echo debuginfo(); ?>">

<p class="r_option">
<a href="javascript:;" onclick="window.scrollTo(0,0);" id="a_top" title="TOP">TOP</a>
</p>

<?php if($_SGLOBAL['ad']['footer']) { ?>
<p style="padding:5px 0 10px 0;"><?php adshow('footer'); ?></p>
<?php } ?>

<p>
<?=$_SCONFIG['sitename']?> - 
<a href="mailto:<?=$_SCONFIG['adminemail']?>">联系我们</a>
<?php if($_SCONFIG['miibeian']) { ?> - <a  href="http://www.miibeian.gov.cn" target="_blank"><?=$_SCONFIG['miibeian']?></a><?php } ?>
</p>
<p>
Powered by <a  href="http://u.discuz.net" target="_blank"><strong>UCenter Home</strong></a> <span title="<?php echo X_RELEASE; ?>"><?php echo X_VER; ?></span>
<?php if(!empty($_SCONFIG['licensed'])) { ?><a  href="http://license.comsenz.com/?pid=7&host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><?php } ?>
&copy; 2001-2009 <a  href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a>
</p>
</div>
</div>
<!--/wrap-->

</body>
</html><?php ob_out();?>